//
//  HYDeviceTableViewCell.h
//  TJHYHardwareProduct
//
//  Created by Kendama on 2018/1/23.
//  Copyright © 2018年 Kendama. All rights reserved.
//

#import "DTCBaseTableViewCell.h"
@class HYDeviceInfoModel;
@interface HYDeviceTableViewCell : DTCBaseTableViewCell

@property(nonatomic,strong)UILabel *deviceIDLabel;
@property(nonatomic,strong)UILabel *companyLabel;
@property(nonatomic,strong)UILabel *adressLabel;
@property(nonatomic,strong)UIButton *stateButton;
@property(nonatomic,strong)UIImageView *lineImageView;
@property(nonatomic,strong)UIButton *checkButton;
@property(nonatomic,strong)UIButton *editButton;
@property(nonatomic,strong)UISwitch *switchButton;

@property(nonatomic,strong)void (^editBlock)();
@property(nonatomic,strong)void (^checkBlock)();
@property(nonatomic,strong)void (^switchBlock)(int state);

- (void)updateDeviceInfo:(HYDeviceInfoModel *)model;
@end
